class CreateDatEventfiles < ActiveRecord::Migration
  def self.up
    create_table :dat_eventfiles do |t|
      t.integer  "event_id",                     :null => false
      t.string   "file_name",      :limit => 40, :null => false
      t.string   "file_path",                    :null => false
      t.integer  "create_user_id",               :null => false
      t.datetime "created_on",                   :null => false
    end
  end

  def self.down
    drop_table :dat_eventfiles
  end
end
